#!/bin/sh
# PROVIDE: aria2
# REQUIRE: NETWORKING
# KEYWORD: shutdown

. /etc/rc.subr

name=aria2b
rcvar=aria2b_enable

command="/media/conf/aria2b/main.py"
command_interpreter="/usr/local/bin/python3.6"
load_rc_config $name

aria2b_user=${aria2b_user:-"nobody"}
aria2b_group=${aria2b_group:-"nobody"}
command_args=" &"

run_rc_command "$1"